package cn.juque.systemservice.api.dto.menu;

import cn.juque.common.abstracts.AbstractRequestDTO;
import lombok.Data;

import javax.validation.constraints.Size;

/**
 * @author JUQUE
 * @version 1.0.0
 * <ul>
 *  <li>simple-generator</li>
 *  <li>菜单</li>
 * </ul>
 * @date 2023-01-06 15:09:48
 **/
@Data
public class MenuInfoSearchDTO extends AbstractRequestDTO {

    /**
     * 上级菜单ID
     */
    @Size(message = "上级菜单ID不能超过{max}个字符", max = 32)
    private String parentMenuId;

    /**
     * 菜单名称
     */
    @Size(message = "菜单名称不能超过{max}个字符", max = 100)
    private String menuName;

}
